﻿// Copyright 2010 Maxime Serrano <lastchronicler@gmail.com>

namespace MCSharp {
    public struct ChunkBlock {
        public byte type;
        public byte metadata;
        public byte lighting;

        public ChunkBlock(byte type, byte metadata, byte lighting) {
            this.type = type;
            this.metadata = metadata;
            this.lighting = lighting;
        }

        public ChunkBlock(Block type, byte metadata, byte lighting) {
            this.type = (byte)type;
            this.metadata = metadata;
            this.lighting = lighting;
        }
    }
}